// Project name:JavaRedis
// Creator:muhong
// Date time:2022/12/10,9:28 下午
// Name:ChannelInboundHandler

package org.gmh.channel.handler;

import org.gmh.channel.ChannelHandler;

public interface ChannelInboundHandler extends ChannelHandler {


    void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception;

    void channelRegistered(ChannelHandlerContext ctx)throws Exception;

    void channelUnregistered(ChannelHandlerContext ctx) throws Exception;

    void channelActive(ChannelHandlerContext ctx) throws Exception;

    void channelInactive(ChannelHandlerContext ctx) throws Exception;

    void userEventTriggered(ChannelHandlerContext ctx, Object event) throws Exception;

    void channelReadComplete(ChannelHandlerContext ctx) throws Exception;

    void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exception;
}
